package test;

/**
 * Created by MtRider on 2021/11/1 21:28
 */
public class CalCulateSize {
    public static void main(String[] args) {
        calcSize();
    }
    private static void calcSize() {
        System.out.println("Integer:" + Integer.SIZE/8);
        System.out.println("Short:" + Short.SIZE/8);
        System.out.println("Long:" + Long.SIZE/8);
        System.out.println("Byte:" + Byte.SIZE/8);
        System.out.println("Character:" + Character.SIZE/8);
        System.out.println("Float:" + Float.SIZE/8);
        System.out.println("Double:" + Double.SIZE/8);
        // System.out.println("Boolean:" + Boolean.toString(false));
    }
}
